package com.timberwood.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;
import com.timberwood.model.Users;

public class Orders {
	 
	private int orderID;
	private Timestamp orderedDate;
	private boolean status;
	private Set<Users> users = new HashSet<Users>();
	private Set<Orderdetails> orderdetails = new HashSet<Orderdetails>();
	
	public int getOrderID() {
		return orderID;
	}
	public void setOrderID(int orderID) {
		this.orderID = orderID;
	}

	public Timestamp getOrderedDate() {
		return orderedDate;
	}
	public void setOrderedDate(Timestamp orderedDate) {
		this.orderedDate = orderedDate;
	}

	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public Set<Users> getUsers() {
		return users;
	}
	public void setUsers(Set<Users> users) {
		this.users = users;
	}
	public Set<Orderdetails> getOrderdetails() {
		return orderdetails;
	}
	public void setOrderdetails(Set<Orderdetails> orderdetails) {
		this.orderdetails = orderdetails;
	}
}
